﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x020012B9 RID: 4793
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class SwordTrainingStoryBattleCsReq : IMessage<SwordTrainingStoryBattleCsReq>, IMessage, IEquatable<SwordTrainingStoryBattleCsReq>, IDeepCloneable<SwordTrainingStoryBattleCsReq>, IBufferMessage
	{
		// Token: 0x17003CA3 RID: 15523
		// (get) Token: 0x0600D6D0 RID: 54992 RVA: 0x00240E3F File Offset: 0x0023F03F
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<SwordTrainingStoryBattleCsReq> Parser
		{
			get
			{
				return SwordTrainingStoryBattleCsReq._parser;
			}
		}

		// Token: 0x17003CA4 RID: 15524
		// (get) Token: 0x0600D6D1 RID: 54993 RVA: 0x00240E46 File Offset: 0x0023F046
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return SwordTrainingStoryBattleCsReqReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17003CA5 RID: 15525
		// (get) Token: 0x0600D6D2 RID: 54994 RVA: 0x00240E58 File Offset: 0x0023F058
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return SwordTrainingStoryBattleCsReq.Descriptor;
			}
		}

		// Token: 0x0600D6D3 RID: 54995 RVA: 0x00240E5F File Offset: 0x0023F05F
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public SwordTrainingStoryBattleCsReq()
		{
		}

		// Token: 0x0600D6D4 RID: 54996 RVA: 0x00240E67 File Offset: 0x0023F067
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public SwordTrainingStoryBattleCsReq(SwordTrainingStoryBattleCsReq other) : this()
		{
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x0600D6D5 RID: 54997 RVA: 0x00240E80 File Offset: 0x0023F080
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public SwordTrainingStoryBattleCsReq Clone()
		{
			return new SwordTrainingStoryBattleCsReq(this);
		}

		// Token: 0x0600D6D6 RID: 54998 RVA: 0x00240E88 File Offset: 0x0023F088
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as SwordTrainingStoryBattleCsReq);
		}

		// Token: 0x0600D6D7 RID: 54999 RVA: 0x00240E96 File Offset: 0x0023F096
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(SwordTrainingStoryBattleCsReq other)
		{
			return other != null && (other == this || object.Equals(this._unknownFields, other._unknownFields));
		}

		// Token: 0x0600D6D8 RID: 55000 RVA: 0x00240EB4 File Offset: 0x0023F0B4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x0600D6D9 RID: 55001 RVA: 0x00240EDA File Offset: 0x0023F0DA
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x0600D6DA RID: 55002 RVA: 0x00240EE2 File Offset: 0x0023F0E2
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x0600D6DB RID: 55003 RVA: 0x00240EEB File Offset: 0x0023F0EB
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x0600D6DC RID: 55004 RVA: 0x00240F04 File Offset: 0x0023F104
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x0600D6DD RID: 55005 RVA: 0x00240F2A File Offset: 0x0023F12A
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(SwordTrainingStoryBattleCsReq other)
		{
			if (other == null)
			{
				return;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x0600D6DE RID: 55006 RVA: 0x00240F47 File Offset: 0x0023F147
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x0600D6DF RID: 55007 RVA: 0x00240F50 File Offset: 0x0023F150
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			while (input.ReadTag() != 0U)
			{
				this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
			}
		}

		// Token: 0x040055B3 RID: 21939
		private static readonly MessageParser<SwordTrainingStoryBattleCsReq> _parser = new MessageParser<SwordTrainingStoryBattleCsReq>(() => new SwordTrainingStoryBattleCsReq());

		// Token: 0x040055B4 RID: 21940
		private UnknownFieldSet _unknownFields;
	}
}
